package com.kfm.jdbc.day0404;

import com.kfm.jdbc.day0328.entity.Goods;

import java.util.List;

public interface GoodsMapper extends Mapper<Goods> {

    @Select("select * from goods")
    List<Goods> findAll();

    @Select("select * from goods where goods_no = #{arg0} and goods_name = #{arg1}")
    Goods findOne(Integer goodsNo, String name);
}
